package day4.作业1026.作业06;

public class Test {
    public static void main(String[] args) {
        Wcar w = new Wcar("白色","123456");
        Dcar d = new Dcar("黑色","456788");
        Pcar p = new Pcar("红色","49837537");
        Cjian c = new Cjian("123678","火星");
        c.show();
        c.jiache(w);
        c.jiache(d);
        c.jiache(p);
    }
}
